package org.jeecg.modules.basic.businessparam.service.impl;

import org.jeecg.modules.basic.businessparam.consts.BusinessParamConst;
import org.jeecg.modules.basic.businessparam.service.BusiniessParamService;
import org.jeecg.modules.basic.businessparam.service.IWmsBusiniessParamConfigService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/*
 * 项目名称:    wms-server-jeecg
 * 接口描述:    //
 * 创建人员:    zhaojun
 * 创建时间:    2024-01-17
 */
@Service
public class BusiniessParamServiceImpl implements BusiniessParamService {

    @Autowired
    private IWmsBusiniessParamConfigService wmsBusiniessParamConfigService;

    @Override
    public String getWareHouseLightColour() {
        return wmsBusiniessParamConfigService.getBussinessValByCode(BusinessParamConst.WAREHOUSE_IN_LIGHT_PARAM);
    }

    @Override
    public String getOutboundHouseLightColour() {
        return wmsBusiniessParamConfigService.getBussinessValByCode(BusinessParamConst.WAREHOUSE_OUT_LIGHT_PARAM);
    }
}
